﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Profile.ascx.cs" Inherits="Controls_BackEnd_Profile" %>
<%@ Import Namespace="Business" %>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <!-- start content-outer -->
        <div id="content-outer">
            <!-- start content -->
            <div id="content">
                <div id="page-heading">
                    <h1>
                        <%=Resources.Resource.PersonalInfo %></h1>
                </div>
                <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
                    <tr>
                        <th rowspan="3" class="sized">
                            <img src="<%=Config.ApplicationUrl %>resources/images/admin/shared/side_shadowleft.jpg"
                                width="20" height="300" alt="" />
                        </th>
                        <th class="topleft">
                        </th>
                        <td id="tbl-border-top">
                            &nbsp;
                        </td>
                        <th class="topright">
                        </th>
                        <th rowspan="3" class="sized">
                            <img src="<%=Config.ApplicationUrl %>resources/images/admin/shared/side_shadowright.jpg"
                                width="20" height="300" alt="" />
                        </th>
                    </tr>
                    <tr>
                        <td id="tbl-border-left">
                        </td>
                        <td>
                            <!--  start content-table-inner -->
                            <div id="content-table-inner">
                                <table border="0" width="100%" cellpadding="0" cellspacing="0">
                                    <tr valign="top">
                                        <td>
                                            <!-- start id-form -->
                                            <table border="0" cellpadding="0" cellspacing="0" id="id-form">
                                            <tr>
                                                    <th valign="top">
                                                         <%=Resources.Resource.FullName %>
                                                        :
                                                    </th>
                                                    <td>
                                                        <asp:TextBox ID="txtFullName" class="inp-form" MaxLength="256" runat="server"></asp:TextBox>
                                                    </td>
                                                    <td rowspan="7" style=" vertical-align:top; text-align:center; width:140px;">
                                                        <asp:Image ID="ImgAvarta" runat="server" Height="120px" ImageUrl="~/Resources/images/admin/forms/NoImages.jpg"
                                                            Width="120px" /></td>
                                                </tr>
                                                <tr>
                                                    <th valign="top">
                                                        <%=Resources.Resource.Email%>
                                                        :
                                                    </th>
                                                    <td>
                                                        <asp:TextBox ID="txtEmail" class="inp-form" MaxLength="128" runat="server"></asp:TextBox>
                                                    </td>
                                                </tr>                                               
                                               
                                                  <tr>
                                                    <th valign="top">
                                                         <%=Resources.Resource.Address%>
                                                        :
                                                    </th>
                                                    <td>
                                                        <asp:TextBox ID="txtAddress" class="inp-form" MaxLength="256" runat="server"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                  <tr>
                                                    <th valign="top">
                                                        <%=Resources.Resource.Image%>
                                                        :
                                                    </th>
                                                    <td>
                                                        <asp:TextBox ID="txtImage" onclick="WareHouseImage();" class="inp-form" MaxLength="256" runat="server"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <th valign="top">
                                                        <%=Resources.Resource.Mobile %>
                                                        :
                                                    </th>
                                                    <td>
                                                       <asp:TextBox ID="txtMobile" class="inp-form" MaxLength="13" runat="server"></asp:TextBox>
                                                    </td>
                                                </tr> 
                                                  <tr>
                                                    <th valign="top">
                                                        <%=Resources.Resource.Status%>
                                                        :
                                                    </th>
                                                    <td>
                                                        <asp:TextBox ID="txtStatus" class="inp-form" MaxLength="256" runat="server"></asp:TextBox>
                                                    </td>
                                                </tr>                                              
                                                <tr>
                                                    <th>
                                                        &nbsp;
                                                    </th>
                                                    <td valign="top">
                                                        <asp:Button ID="btnSave" class="form-submit"
                                                            OnClick="AllCommand" runat="server" /></td>
                                                    <td>
                                                    </td>
                                                </tr>
                                            </table>
                                            <!-- end id-form  -->
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <img src="<%=Config.ApplicationUrl %>resources/images/admin/shared/blank.gif" width="695"
                                                height="1" alt="blank" />
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                                <div class="clear">
                                </div>
                            </div>
                            <!--  end content-table-inner  -->
                        </td>
                        <td id="tbl-border-right">
                        </td>
                    </tr>
                    <tr>
                        <th class="sized bottomleft">
                        </th>
                        <td id="tbl-border-bottom">
                            &nbsp;
                        </td>
                        <th class="sized bottomright">
                        </th>
                    </tr>
                </table>
                <div class="clear">
                    &nbsp;</div>
            </div>
            <!--  end content -->
            <div class="clear">
                &nbsp;</div>
        </div>
        <!--  end content-outer -->       

        <script type="text/javascript">
            reloadpage = function () {
                $('.styledselect_form_1').selectbox({ inputClass: "styledselect_form_1" });
                $('.styledselect_form_2').selectbox({ inputClass: "styledselect_form_2" });
            }
            WareHouseImage = function () {               
                ShowPopup(750, 500, '<%= Config.ApplicationUrl%>pages/popup.aspx?ty=img', 'Warehouse Images');
            }
            getImage = function (img) {
                $control('<%=txtImage.ClientID %>').value = img;
                $control('<%=ImgAvarta.ClientID %>').src = img;
                    UnLoading();
            }
        </script>

    </ContentTemplate>
</asp:UpdatePanel>